package com.buddies.lottery.ui.wallet.pwd;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.resp.CheckWalletPwdResponse;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface UpdateWalletPwdContract {

    interface View extends IView {
        void onCheckWalletPwd(CheckWalletPwdResponse result);
        void onUpdateWalletPwdSuccess();
    }

    interface Presenter extends IPresenter<View> {
        void checkWalletPwd();
        void postUpdateWalletPwd(String oldPassword, String newPassword);
    }

}
